mapbox-maps-android
/
com.mapbox.bindgen
/
[androidJvm]ArrayUtils
Array
Utils
class
ArrayUtils
Content copied to clipboard
Utility class to covert array of primitive types to the List of Objects.
Functions
Functions
convert
Link copied to clipboard
open fun
convert
(
@
NonNull
()
arr:
Array
<
Boolean
>):
List
<
Boolean
>
Content copied to clipboard
Convert array of booleans to the list of Boolean objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Byte
>):
List
<
Byte
>
Content copied to clipboard
Convert array of bytes to the list of Byte objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Char
>):
List
<
Character
>
Content copied to clipboard
Convert array of chars to the list of Character objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Double
>):
List
<
Double
>
Content copied to clipboard
Convert array of doubles to the list of Double objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Float
>):
List
<
Float
>
Content copied to clipboard
Convert array of floats to the list of Float objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Int
>):
List
<
Integer
>
Content copied to clipboard
Convert array of ints to the list of Integer objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Any
>):
List
<
Any
>
Content copied to clipboard
Convert array of Objects to the list of Objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Long
>):
List
<
Long
>
Content copied to clipboard
Convert array of longs to the list of Long objects
open fun
convert
(
@
NonNull
()
arr:
Array
<
Short
>):
List
<
Short
>
Content copied to clipboard
Convert array of shorts to the list of Short objects
convertListToArray
Link copied to clipboard
open fun
convertListToArray
(
@
NonNull
()
ls:
List
<
Any
>):
Array
<
Any
>
Content copied to clipboard
Convert List of Objects to the array of Objects